﻿<div class="header">
    <div class="topRightBox">

        <? if (!$logged_in) { ?>
            <ul class="loginBox">
                <li><a href="/user/login">Вход</a></li> |
                <li><a href="/user/register">Регистрация</a></li>
            </ul>
        <? } ?>

        <?= render($page['header']) ?>

        <?/*<form id="searchForm">
            <fieldset>
                <div class="input">
                    <input type="text" name="s" id="s" value="Поиск по сайту" />
                </div>
                <input type="submit" id="searchSubmit" value="" />
            </fieldset>
        </form>*/?>
    </div><!-- end .topRightBox -->

    <h1>
        <a title="WebScience" href="/">
            <img title="WebScience" alt="WebScience" src="<?= $logo ?>" class="logo" />
        </a>
    </h1>
</div><!-- end .header -->

<div class="cb"><span><!-- just for correct floatin' --></span></div>

<?= render($page['menu']) ?>
<?= render($page['tags']) ?>

<div class="cb"><span><!-- just for correct floatin' --></span></div>